/**
 * 按钮拓展配置
 */
layui.define([ 'fsConfig', 'layer' ], function(exports) {

	var fsConfig = layui.fsConfig,
		layer = layui.layer,
		statusName = $.result(fsConfig, "global.result.statusName", "code"),
		msgName = $.result(fsConfig, "global.result.msgName", "message"),
		dataName = $.result(fsConfig, "global.result.dataName", "entity"),
		successNo = $.result(fsConfig, "global.result.successNo", 1000),
		FsButtonCommon = function() {};


	FsButtonCommon.prototype.test = function(elem, data, datagrid) {
		/*alert("测试自定义按钮" + JSON.stringify(data));*/
		layer.open({
			  title: '在线调试'
			  ,content: '可以填写任意的layer代码'
			});   
	}


	var fsButtonCommon = new FsButtonCommon();
	exports('fsButtonCommon', fsButtonCommon);
});